package com.tm.media.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("ad_user_opertion")
public class AdUserOpertionEntity {
    @TableId(type = IdType.AUTO)
    private    Integer id;//	bigint
    private    Integer     user_id;//` int(11) unsigned DEFAULT NULL COMMENT '用户ID',
    private    Integer   equipment_id;//` int(11) unsigned DEFAULT NULL COMMENT '登录设备ID',
    private    String   ip;//` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '登录IP',
    private    String  address;//` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '登录地址',
    private    String  type;//` int(5) DEFAULT NULL COMMENT '操作类型',
    private    String description;//` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '操作描述',
    private    LocalDateTime createTime;//创建时间 用户执行操作时间	datetime
}
